package com.abaaba.project2.service;

import com.abaaba.project2.bean.Groupon;
import com.abaaba.project2.bean.GrouponRules;
import com.abaaba.project2.bean.bo.GrouponReqBo;
import com.abaaba.project2.bean.bo.GrouponRuleCreateBo;
import com.abaaba.project2.bean.data.BaseData;

public interface AdminGrouponService {

    BaseData<GrouponRules> queryGrouponRuleList(GrouponReqBo gropnReqBo);

    GrouponRules insertGrouponRule(GrouponRuleCreateBo createBo);

    Integer updateGrouponRule(GrouponRules grouponRules);

    Integer deleteGrouponRule(GrouponRules grouponRules);

    BaseData<Groupon> queryGrouponList(GrouponReqBo grouponReqBo);
}
